package com.test.design.pattern.visitor;

/**
 * @ClasName Owner
 * @Descripution TODO 具体访问者角色类(自己)
 * @Author USER
 * @Date 2022/2/25 11:29
 * @Version V1.0
 */
public class Owner implements Person{

    public void feed(Cat cat) {
        System.out.println("主人喂食猫");
    }

    public void feed(Dog dog) {
        System.out.println("主人喂食狗");
    }
}
